package DBLayer;

import java.util.ArrayList;

import ModelLayer.*;

public interface IFDBContact {
	// get all Customers
    public ArrayList<Contact> getAllCustomers();
    
    // get all Customers
    public ArrayList<Business> getAllBusinessCustomers();
    
    // get all Customers
    public ArrayList<Private> getAllPrivateCustomers();
    
    //get one Customer having the CPR
    public Private getCustomerByCPR(String CPR);
    
    //get one Customer having the CVR
    public Business getCustomerByCVR(String CVR);
    
    //get one Customer having the name
    public Contact getCustomerByName(String name);
    
    //get one Customer having the id
    public Contact getCustomerById(int id);
   
    //insert a new Customer
    public int insertCustomer(Contact customer) throws Exception;
    
    //update information about an Customer
    public int updateCustomer(Contact customer);
	
	//delete a Customer
	public int deleteCustomer(Contact customer);
}
